package com.yunhe.java.day06.test;

public class Student1 {
    public static void main(String[] args) {
        Student p1= new Student("王");
        Student p2=new Student("李");
        Student p3=new Student("赵");
        System.out.println(p1.name);System.out.println(p1.sex);System.out.println(p1.phone);
        System.out.println(p2.name);System.out.println(p2.sex);System.out.println(p2.phone);
        System.out.println(p3.name);System.out.println(p3.sex);System.out.println(p3.phone);
        p1.looking();p1.playGames();p1.practicing(); p1.looking(); p1.looking();
        p2.playGames();p2.practicing();p2.looking();p2.looking();
        p3.practicing();p3.looking();p3.practicing();
        Student.showPower();
        Student.students[0]=p1;
        Student.students[1]=p2;
        Student.students[2]=p3;
        Student.sayAllName();
    }
}
